package it.univaq.mwt.model.bean;
import java.util.List;
import java.util.Set;

import it.univaq.mwt.exceptionmonitor.WishlistrMessage;
import it.univaq.mwt.model.entity.Files;
import it.univaq.mwt.model.entity.Gift;

import javax.ejb.Remote;

@Remote
public interface GiftBeanRemote {
	void registerGift(Gift gift, int id_list) throws WishlistrMessage;
	public Set<Gift> getGiftList(int id_list)throws WishlistrMessage;
	public void deleteGift(int id_gift) throws WishlistrMessage;
	public Gift editGift(Gift gift) throws WishlistrMessage;
	public Gift createGift(Gift gift) throws WishlistrMessage;
	public Gift getGift(int id) throws WishlistrMessage;
	public int getGiftNumber() throws WishlistrMessage;
	public List<Gift> getGiftList(int i, int j)throws WishlistrMessage;
	public void addFile(Gift gift, Files file)throws WishlistrMessage;
	public void editFile(Gift gift, Files file)throws WishlistrMessage;
	public List<Gift> getGiftListSmall(int limit)throws WishlistrMessage;
	public List<Gift> getGiftListByUserId(int id_user)throws WishlistrMessage;
	public List<Gift> getGiftListByCategoryId(int id_category)throws WishlistrMessage;
}

